<script setup>
defineProps(['ratebar','useTime'])
</script>
<template>
  <div class="item">
  <div>
    <slot name="appImage"></slot>
  </div>
  <div class="details">
    <i>
      <slot name="appName"></slot>
    </i>
    <s>
      {{useTime}}
    </s>
      <div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
        <div class="progress-bar" :style="ratebar"></div>
      </div>
    </div>
  </div>
</template>

<style scoped>
.item {
  margin-top: 2rem;
  display: flex;
  position: relative;
}
.details{
  width: 100%;
  padding-left: 10px;

}
.details i{
  font-style: normal;
}
.details s{
  text-decoration: none;
  text-align: right;
  float: right;
}
</style>
